'use strict';
const db = uniCloud.database();
// 查询配送区域
exports.main = async (event, context) => {

	let res = await db.collection('area').where(event).get()

	return {
		data: res.data,
		code: 200,
		message: "成功"
	}
};